package com.baidu.pojo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author: Haotian
 * @Date: 2020/1/7 8:40
 * @Description: 地址管理
 */

public class Address implements Serializable {
    private static final long serialVersionUID = -5243767030375722029L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 地址名
     */
    private String name;

    /**
     * 经度
     */
    private BigDecimal longitude;

    /**
     * 纬度
     */
    private BigDecimal latitude;

    public Address(Integer id, String name, BigDecimal longitude, BigDecimal latitude) {
        this.id = id;
        this.name = name;
        this.longitude = longitude;
        this.latitude = latitude;
    }
    public Address(String name, BigDecimal longitude, BigDecimal latitude) {
        this.name = name;
        this.longitude = longitude;
        this.latitude = latitude;
    }

    public Address() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }
}